Visual acuity and contrast sensitivity measurement